/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package checkers.businessLogic.game;

/**
 *
 * @author artinshahverdian
 */
public class Player {
    private String id;
    private String name;
    private String email;
    private int rating;
    private Piece.Color pieceColor;

    public Player(String name, String email, int rating,String userId, Piece.Color pieceColor) {
        this.name = name;
        this.email = email;
        this.rating = rating;
        this.pieceColor = pieceColor;
        this.id = userId;

    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the rating
     */
    public int getRating() {
        return rating;
    }

    /**
     * @return the pieceColor
     */
    public Piece.Color getPieceColor() {
        return pieceColor;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
}
